package com.practice.springboot_01_zwj.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class BatchSubTaskDTO {
    private Integer id;
    private String taskName;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
    private Double progress;
    private Integer subId;
    private String taskDescription;
    private String workTask;  //工作任务
    private String batchExecutor;       // 批量子任务执行人（用户名）
    private String batchExecutorAcName; // 批量子任务执行人中文名
    private String implementDescription; //工作任务落实情况
    private Double indexValue;  //指标值
    private Double selfRating; //自评分

    public String getImplementDescription() {
        return implementDescription;
    }

    public void setImplementDescription(String implementDescription) {
        this.implementDescription = implementDescription;
    }

    public Double getIndexValue() {
        return indexValue;
    }

    public void setIndexValue(Double indexValue) {
        this.indexValue = indexValue;
    }

    public Double getSelfRating() {
        return selfRating;
    }

    public void setSelfRating(Double selfRating) {
        this.selfRating = selfRating;
    }

    public String getBatchExecutorAcName() {
        return batchExecutorAcName;
    }

    public void setBatchExecutorAcName(String batchExecutorAcName) {
        this.batchExecutorAcName = batchExecutorAcName;
    }

    public String getWorkTask() {
        return workTask;
    }

    public void setWorkTask(String workTask) {
        this.workTask = workTask;
    }

    public String getBatchExecutor() {
        return batchExecutor;
    }

    public void setBatchExecutor(String batchExecutor) {
        this.batchExecutor = batchExecutor;
    }

    // Getters and Setters
    public Integer getId() { return id; }
    public void setId(Integer id) { this.id = id; }
    public String getTaskName() { return taskName; }
    public void setTaskName(String taskName) { this.taskName = taskName; }
    public Date getStartTime() { return startTime; }
    public void setStartTime(Date startTime) { this.startTime = startTime; }
    public Date getEndTime() { return endTime; }
    public void setEndTime(Date endTime) { this.endTime = endTime; }

    public Double getProgress() {
        return progress;
    }

    public void setProgress(Double progress) {
        this.progress = progress;
    }

    public Integer getSubId() { return subId; }
    public void setSubId(Integer subId) { this.subId = subId; }
    public String getTaskDescription() { return taskDescription; }
    public void setTaskDescription(String taskDescription) { this.taskDescription = taskDescription; }
}